import { createRouter, createWebHashHistory } from 'vue-router'
import PopupWindow from '../views/PopupWindow.vue'
import SettingView from '../views/SettingView.vue'
import WechatWindow from '../views/WechatWindow.vue'

const router = createRouter({
    history: createWebHashHistory(),
    routes: [
        {
            path: '/',
            name: 'Popup',
            component: PopupWindow
        },
        {
            path: '/wechat',
            name: 'Wechat',
            component: WechatWindow
        },
        {
            path: '/setting',
            name: 'Setting',
            component: SettingView
        }
    ]
})

export default router